package ystp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ystp.model.Ysrenyuanfenpei;
import ystp.model.YsrenyuanfenpeiExample;

public interface YsrenyuanfenpeiMapper {

    List<Map<String, Object>> findRenyuanFenpeiByXiangmuId(@Param("xiangmuid") String mmxiangmuId);

    int countByExample(YsrenyuanfenpeiExample example);

    int deleteByExample(YsrenyuanfenpeiExample example);

    int deleteByPrimaryKey(String id);

    int deleteByXiangmuid(String ppxianmguId);

    int insert(Ysrenyuanfenpei record);

    int insertSelective(Ysrenyuanfenpei record);

    List<Ysrenyuanfenpei> selectByExample(YsrenyuanfenpeiExample example);

    Ysrenyuanfenpei selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Ysrenyuanfenpei record, @Param("example") YsrenyuanfenpeiExample example);

    int updateByExample(@Param("record") Ysrenyuanfenpei record, @Param("example") YsrenyuanfenpeiExample example);

    int updateByPrimaryKeySelective(Ysrenyuanfenpei record);

    int updateByPrimaryKey(Ysrenyuanfenpei record);
}